﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YiLe.Model.Domain
{
    public class User
    {
        public User() { }

        public virtual int UserID { get; set; }
        public virtual string UserName { get; set; }
        public virtual string UserSex { get; set; }
        public virtual string LoginName { get; set; }
        public virtual string LoginPWD { get; set; }
        //多对对关系：User有多个Role
        public virtual IList<Role> Roles { get; set; }
    }
}
